<?php
/**
 * Created by 云中有鹿.
 * User: 陈云
 * Blog: http://blog.likecy.cn
 * Date: 2019-04-05
 * Time: 19:23
 */

namespace app\car\model;


use think\Model;

class Driver extends Model
{
    protected $name = "car_driver";

    public function info(){
        return $this->belongsTo('User','uid','id')->where('group_id',1);
    }
}